/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.zone.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.zone.entity.Zone;
import com.jeeplus.modules.zone.mapper.ZoneMapper;

/**
 * 商品分区Service
 * @author lxj
 * @version 2020-11-14
 */
@Service
@Transactional(readOnly = true)
public class ZoneService extends CrudService<ZoneMapper, Zone> {

	public Zone get(String id) {
		return super.get(id);
	}
	
	public List<Zone> findList(Zone zone) {
		return super.findList(zone);
	}
	
	public Page<Zone> findPage(Page<Zone> page, Zone zone) {
		return super.findPage(page, zone);
	}
	
	@Transactional(readOnly = false)
	public void save(Zone zone) {
		super.save(zone);
	}
	
	@Transactional(readOnly = false)
	public void delete(Zone zone) {
		super.delete(zone);
	}
	
}